<{if $pager}>
<script>
    $(function () {
        $(".ui-state-disabled").click(function(){
            return false;
        })
    })
</script>
    <div class="dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi ui-buttonset-multi paging_full_numbers">
        每页 <{$pager.page_size}> 条记录，共有 <{$pager.total_count}> 条记录，当前第
        <{$pager.current_page}>/<{$pager.total_page}> 页
        <a class="first ui-corner-tl ui-corner-bl fg-button ui-button ui-state-default <{if $pager.current_page < 2}>ui-state-disabled<{/if}>" href="<{$url}>&page=<{$pager.first_page}><{if $searchkeys}>&searchkeys=<{$searchkeys}><{/if}>" tabindex="0" id="DataTables_Table_0_first">First</a>
        <a class="previous fg-button ui-button ui-state-default <{if $pager.current_page < 2}>ui-state-disabled<{/if}>" href="<{$url}>&page=<{$pager.prev_page}><{if $searchkeys}>&searchkeys=<{$searchkeys}><{/if}>" tabindex="0" id="DataTables_Table_0_previous">Previous</a>
        <span>
            <{if $pager.total_page > 1}>
                <{if $pager.current_page < 3}>
                    <{if $pager.total_page > 5}>
                        <{section name=i loop=6 start=1}>
                        <a class="fg-button ui-button ui-state-default <{if $smarty.section.i.index == $pager.current_page}>ui-state-disabled<{/if}>" href="<{$url}>&page=<{$smarty.section.i.index}><{if $searchkeys}>&searchkeys=<{$searchkeys}><{/if}>" tabindex="0"><{$smarty.section.i.index}></a>
                        <{/section}>
                    <{else}>
                        <{section name=i loop=$pager.total_page+1 start=1}>
                        <a class="fg-button ui-button ui-state-default <{if $smarty.section.i.index == $pager.current_page}>ui-state-disabled<{/if}>" href="<{$url}>&page=<{$smarty.section.i.index}><{if $searchkeys}>&searchkeys=<{$searchkeys}><{/if}>" tabindex="0"><{$smarty.section.i.index}></a>
                        <{/section}>
                    <{/if}>
                <{else}>
                    <{if $pager.total_page > $pager.current_page+2}>
                        <{section name=i loop=$pager.current_page+3 start=$pager.current_page-2}>
                        <a class="fg-button ui-button ui-state-default <{if $smarty.section.i.index == $pager.current_page}>ui-state-disabled<{/if}>" href="<{$url}>&page=<{$smarty.section.i.index}><{if $searchkeys}>&searchkeys=<{$searchkeys}><{/if}>" tabindex="0"><{$smarty.section.i.index}></a>
                        <{/section}>
                    <{else}>
                        <{section name=i loop=$pager.total_page+1 start=$pager.current_page-2}>
                        <a class="fg-button ui-button ui-state-default <{if $smarty.section.i.index == $pager.current_page}>ui-state-disabled<{/if}>" href="<{$url}>&page=<{$smarty.section.i.index}><{if $searchkeys}>&searchkeys=<{$searchkeys}><{/if}>" tabindex="0"><{$smarty.section.i.index}></a>
                        <{/section}>
                    <{/if}>
                <{/if}>
            <{else}>
            <a class="fg-button ui-button ui-state-default ui-state-disabled" href="javascript:" tabindex="0">1</a>
            <{/if}>
        </span>
        <a class="next fg-button ui-button <{if $pager.total_page <= $pager.current_page}>ui-state-disabled<{/if}>" href="<{$url}>&page=<{$pager.next_page}><{if $searchkeys}>&searchkeys=<{$searchkeys}><{/if}>" tabindex="0" id="DataTables_Table_0_next">Next</a>
        <a class="last ui-corner-tr ui-corner-br fg-button ui-button <{if $pager.total_page <= $pager.current_page}>ui-state-disabled<{/if}>" href="<{$url}>&page=<{$pager.last_page}><{if $searchkeys}>&searchkeys=<{$searchkeys}><{/if}>" tabindex="0" id="DataTables_Table_0_last">Last</a>
    </div>
<{else}>
<div class="dataTables_wrapper">
&nbsp;
</div>
<{/if}>